using System;

namespace Clandestine.Engines.Field
{
	public abstract class Entity : AbstractObject, IUpdateable
	{
		public Logic Logic { get; private set; }
		
		public Entity(Level level, Logic logic) : base(level)
		{
			this.Logic = logic;
			this.Logic.AddUpdateable(this);
		}
		
		public abstract void Step (TimeSpan delta, TimeSpan total);
	}
}

